﻿using System;
using System.Windows.Forms;

namespace HMaker.Dialogs
{
    public partial class GroupEditor : Form
    {
        public string GroupName
        {
            get => TB_GroupName.Text;
            set => TB_GroupName.Text = value;
        }

        public GroupEditor()
        {
            InitializeComponent();
        }

        private void Bn_Confirm_Click(object sender, EventArgs e)
        {
            if (!string.IsNullOrWhiteSpace(GroupName))
            {
                DialogResult = DialogResult.OK;
            }
        }
    }
}
